home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / DC151.ARJ / SETUP.BAT < prev   
DOS Batch File  |  1991-02-13  |  2KB  |  59 lines

  1. echo off
  2. if not %1a==a goto num
  3. cls
  4. echo  * DRAFT CHOICE Installation ERROR - No Disk Specified *
  5. echo    ---------------------------------------------------
  6. echo  The SETUP command must be followed by a drive/directory name.
  7. echo  To install the program on a formatted floppy disk, place the original
  8. echo  disk in Drive A, the blank disk in drive B, make A is the default
  9. echo  drive and use the command:    SETUP b:
  10. echo  
  11. echo  To install the program on drive C in a directory named DC151, place
  12. echo  the original disk in drive A, make sure drive A is the default drive
  13. echo  and use the command:   SETUP C:\DC151
  14. echo  
  15. goto finals
  16. :num
  17. if exist DRAFTC.EXE goto insprog1
  18. cls
  19. echo  * Program files not Found *
  20. echo    -----------------------
  21. echo  Note! The DRAFT CHOICE Files are not on the current logged drive.
  22. ECHO  The original DRAFT CHOICE disk should be in the default drive!
  23. echo  
  24. :insprog1
  25. cls
  26. copy setup.bat  %1\setup.bat >nul
  27. if not exist %1\setup.bat goto isnotdir
  28. cls
  29. echo  DRAFT CHOICE Installation
  30. echo  
  31. copy *.*  %1\*.* 
  32. echo   ***  Completed  ***
  33. echo  -----
  34. echo  (1) Log on to the just installed Disk/Directory.
  35. echo      Type DC15U and press ENTER to extract the following files:
  36. echo  
  37. echo          DRAFTC.HLP  -  Help File
  38. echo           HTREE.EXE  -  Help file Loader
  39. echo           ROMAN.FNT  -  Roman Font File
  40. echo         LICENSE.DOC  -  Information about use of the program
  41. echo          VENDOR.DOC  -  Info for Distributing the program
  42. echo          NOZZLE.DCH  -  Sample drawing file
  43. echo            ORDER.ME  -  Order form
  44. echo  
  45. echo  (2) Log on to the just installed Disk/Directory.
  46. echo      Type DC-MAN and press ENTER to extract On-Disk Manual File.
  47. echo  
  48. goto finals
  49. :isnotdir
  50. cls
  51. echo  **  DRAFT CHOICE Installation **
  52. echo      -------------------------
  53. echo  The specified sub-directory    %1    probably DOES NOT exist.
  54. echo  Please create it or use a different sub-directory.
  55. echo  (Remember!   No Trailing Backslash)
  56. echo  
  57. :finals
  58.  
  59.